package calbs.socket.pojo.req;/**
 * Created by zhangqin on 2017/8/4.
 */

import java.io.Serializable;

/**
 * 请求类
 *
 * @author
 * @create 2017-08-04 11:22
 **/
public class ReqData<T extends ReqBaseMsg> implements Serializable {


    private String oldContent;
    private io.netty.channel.Channel channel;
    private String device;
    public io.netty.channel.Channel getChannel() {
        return channel;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public void setChannel(io.netty.channel.Channel channel) {
        this.channel = channel;
    }

    private T body;

    public String getOldContent() {
        return oldContent;
    }

    public void setOldContent(String oldContent) {
        this.oldContent = oldContent;
    }

    public T getBody() {
        return body;
    }

    public void setBody(T body) {
        this.body = body;
    }
}
